
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="com.dvd.utils.*" %>
<%@ page import="com.dvd.dao.usr.*" %>
<jsp:include page="include/directive.jsp"></jsp:include>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="css/Style002.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="js/common.js"></script>
	<script type="text/javascript" src="js/GCJC001JS.js"></script>
	<%
		Date date =((TUsr)request.getAttribute("TUsr")).getFBirth();
		if(date!=null)
		{
			DateMaker dm = DateMaker.getInstance();
			pageContext.setAttribute("Year",dm.getYear(date));
			pageContext.setAttribute("Month",dm.getMonth(date));
			pageContext.setAttribute("Day",dm.getDay(date));
		}
		
	 %>
	<title>管理者情報編集</title>
</head>
<body>
	&gt;<jsp:include page="include/header.jsp"></jsp:include>
    <div id="main">
 		<jsp:include page="include/left.jsp"></jsp:include>
     	<div id="context">
     	<form action="GCJC001.do?action=${TUsr.FLoginId}" method="post">
    		<div class="caption">管理者情報編集</div>
    		<div class="line">
	    		<div class="left">ユーザID</div>
	    		<div class="right"><input name="FLoginId" value="${TUsr.FLoginId}" id="FLoginId" type="text" class="input"/></div>
    		</div>
    		<div class="line">
	    		<div class="left">管理者名</div>
	    		<div class="right"><input name="FUsrNm" value="${TUsr.FUsrNm}" id="FUsrNm" type="text" class="input"/></div>
    		</div>
    		<div class="line">
	    		<div class="left">パスワード</div>
	    		<div class="right"><input name="FPwd" id="FPwd" value="${TUsr.FPwd}" type="password" class="input"/></div>
    		</div>
    		<div class="line">
	    		<div class="left">パスワード再入力</div>
	    		<div class="right"><input name="FPwd2" id="FPwd2" value="${TUsr.FPwd}" type="password" class="input"/></div>
    		</div>
    		<div class="line">
	    		<div class="left">生年月日</div>
	    		<div class="right">
	    			<input name="birth1" value="${pageScope.Year}" id="birth1" type="text" class="birth" style="width:40px;"/>年　
	    			<input name="birth2" value="${pageScope.Month}" id="birth2" type="text" class="birth" style="width:25px;"/>月　
	    			<input name="birth3" value="${pageScope.Day}" id="birth3" type="text" class="birth" style="width:25px;"/>日
	    			<input name="FBirth" id="FBirth" type="hidden"/>
	    		</div>
    		</div>
    		<div class="line">
	    		<div class="left">メール・アドレス</div>
	    		<div class="right"><input name="FMail" value="${TUsr.FMail}" id="FMail" type="text" class="input"/></div>
    		</div>
    		<div class="line">
				<div style="text-align:center;">
					<input type="submit"onclick="return validateAdminInfo()" class="button" value=" 登　録 "/>&nbsp;&nbsp;
					<input type="button" onclick="GCJC001reset()" class="button" value=" リセット "/>
				</div>
    		</div>
    		<div class="line" style="text-align:center;"> 
				<span id="lblMessage" style="color:Red;">&nbsp;</span>
            </div>
        </form>
    	</div>   
    </div>
	<jsp:include page="include/footer.jsp"/>

</body>
</html>